net/http/internal/http2.stream.body (field)
12 uses
net/http/internal/http2 (current package)
server.go#L516: body *pipe // non-nil if expecting DATA frames
server.go#L1600: if p := st.body; p != nil {
server.go#L1746: if st.body == nil {
server.go#L1757: st.body.CloseWithError(fmt.Errorf("sender tried to send more than declared Content-Length of %d bytes", st.declBodyBytes))
server.go#L1771: wrote, err := st.body.Write(data)
server.go#L1825: st.body.CloseWithError(fmt.Errorf("request declared a Content-Length of %d but only wrote %d bytes",
server.go#L1828: st.body.closeWithErrorAndCode(io.EOF, st.copyTrailersToHandlerRequest)
server.go#L1829: st.body.CloseWithError(io.EOF)
server.go#L1848: if st.body != nil {
server.go#L1851: st.body.CloseWithError(fmt.Errorf("%w", os.ErrDeadlineExceeded))
server.go#L1970: st.body = st.reqBody.pipe // may be nil
server.go#L2266: body: st.body,
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)